﻿@model Coleotrack.Models.ForgotPasswordViewModel
@using Coleotrack.Resources

@{
    Layout = "~/Views/Shared/_NonUserArea.cshtml";
    ViewBag.Title = @labels.Register;
}

<h1>@labels.Forgot_password</h1>

<p>@labels.Forgot_password_instruction</p>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(false, labels.ErrorsOccured)

    <br />

    <div class="forgotpassword-label">
        @Html.LabelFor(model => model.UsernameEmail, labels.Username_or_E_Mail)
    </div>
    <div class="forgotpassword-input">
        @Html.TextBoxFor(model => model.UsernameEmail)
    </div>

    <br />

    <div class="forgotpassword-submit">
        <input type="submit" value="@labels.SendPasswordRequest" />
    </div>
    
}


@section Head {

    <link href="@Url.Content("~/Content/ForgotPassword.css")" rel="stylesheet" type="text/css" />

}

@section Footer {

    <p>
        @Html.ActionLink(labels.Sign_In_With_Existing_Account, "LogOn", "Account")
    </p>

}

